﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.WorkflowCore
{
    public class PagedList<T>
    {
        public List<T> Items { get; private set; }
        public int Total { get; private set; }
        public int Start { get; private set; }
        public int Limit { get; private set; }

        public PagedList(int total, int start, int limit , List<T> list)
        {
            Total = total;
            Start = start;
            Limit = limit;

            Items = new List<T>();
            Items.AddRange(list);
        }
    }
}
